package com.hoas.comparedb.util;

public class CompareReporter {

    private int totalCount = 0;

    private int addCount = 0;

    private int dropCount = 0;

    private int alterCount = 0;


    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getAddCount() {
        return addCount;
    }

    public void setAddCount(int addCount) {
        this.addCount = addCount;
    }

    public int getDropCount() {
        return dropCount;
    }

    public void setDropCount(int dropCount) {
        this.dropCount = dropCount;
    }

    public int getAlterCount() {
        return alterCount;
    }

    public void setAlterCount(int alterCount) {
        this.alterCount = alterCount;
    }

    @Override
    public String toString() {
        return "共比较表 " + totalCount +
                " 张, 新增表 " + addCount +
                " 张, 修改表 " + alterCount +
                " 张";
    }
}
